<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<script type="text/javascript" src="ValidacionesJS.js"></script>
<%@page import="FulbitoFacil.negocio.GestionCancha,java.util.*" %>
 <%@page import="FulbitoFacil.modelo.Cancha" %>
 <%@page import="FulbitoFacil.modelo.Local" %>
 <%@page import="FulbitoFacil.modelo.Horario" %>
 <%
 	GestionLocal neg = new GestionLocal();
 	Collection<Local> lstLocal = new ArrayList<Local>();
    lstLocal=neg.ListarLocal();
    request.setAttribute("Listadolocales",lstLocal);
    %>


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

	NUEVA CANCHA

	<form method="post" action="" name="f1" onsubmit="return validar()">
		<table style="width: 313px;">
			<tr>
				<td>Nombre:</td>
				<td><input name="txtNombre"/></td>
			</tr>
			<tr>
				<td>Caracteristicas:</td>
				<td><input name="txtCaracteristica"/></td>
			</tr>
			<tr>
				<td>Promocion:</td>
				<td><input name="txtPromocion"/></td>
			</tr>
			<tr>
				<td>Foto:</td>
				<td><input name="txtFoto"/></td>
			</tr>
			<tr>
				<td>Local:</td>
				<td><select name="sltLocal"></select></td>
			</tr>
			<tr>
				<td>Horario:</td>
				<td><select name="sltHorario"></select></td>
			</tr>
			<tr>
				<td></td>
				<td><input type="submit" value="Guardar"></td>
			</tr>
		</table>
	</form>
</body>
</html>